<template>
  <div>
    <h2>我是Movie组件</h2>
    <p>正在观看的电源是{{ $route.params.name }}</p>
    <p>正在观看的电源id是{{ $route.params.id }}</p>
  </div>
</template>

<script>
// import ArtList from "@/components/ArtList.vue";
export default {
  beforeMount() {
    //console.log(this.$refs.zujian);
  },
  beforeDestroy() {
    //实例销毁之前调用，在这一步，实例依然完全可用
  },
  destroyed() {},
};
</script>

<style scoped>
div {
  height: 300px;
  background-color: aqua;
}
</style>